package com.atguigu.constructor;

public class TestTeacher {
    public static void main(String[] args) {
//        Teacher t1 = new Teacher();//报错，没有默认的无参构造
        Teacher t2 = new Teacher("柴林燕", 15000);
    }
}
